
package edu.hwadee.entity;

/**
 * Goodssell entity. @author MyEclipse Persistence Tools
 */

public class Goodssell implements java.io.Serializable {

	// Fields

	private Integer goodsSellId;
	private Goods goods;
	private Goodsorder goodsorder;
	private Float quanity;
	private Float price;
	private Float earn;
	private Float taxRate;

	// Constructors

	/** default constructor */
	public Goodssell() {
	}

	/** full constructor */
	public Goodssell(Goods goods, Goodsorder goodsorder, Float quanity, Float price, Float earn, Float taxRate) {
		this.goods = goods;
		this.goodsorder = goodsorder;
		this.quanity = quanity;
		this.price = price;
		this.earn = earn;
		this.taxRate = taxRate;
	}

	// Property accessors

	public Integer getGoodsSellId() {
		// TODO Auto-generated method stub
		return this.goodsSellId;
	}

	public void setGoodsSellId(Integer goodsSellId) {
		this.goodsSellId = goodsSellId;
	}

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Goodsorder getGoodsorder() {
		return this.goodsorder;
	}

	public void setGoodsorder(Goodsorder goodsorder) {
		this.goodsorder = goodsorder;
	}

	public Float getQuanity() {
		return this.quanity;
	}

	public void setQuanity(Float quanity) {
		this.quanity = quanity;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Float getEarn() {
		return this.earn;
	}

	public void setEarn(Float earn) {
		this.earn = earn;
	}

	public Float getTaxRate() {
		return this.taxRate;
	}

	public void setTaxRate(Float taxRate) {
		this.taxRate = taxRate;
	}

}